#ifndef MUTITLEBAR_H
#define MUTITLEBAR_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class MuWinTitlebar; }
QT_END_NAMESPACE

class MuWinTitlebar : public QWidget
{
    Q_OBJECT
public:
    explicit MuWinTitlebar(QWidget *parent = nullptr);

    QRegion GetProperRegion() const;

protected:
    bool eventFilter(QObject* watched, QEvent* event);

signals:
    void ShowMinimized();
    void ShowMaximized();
    void ShowRestoreSize();
    void Close();

private:
    Ui::MuWinTitlebar* ui;
};

#endif // MUTITLEBAR_H

